word='bottles'
for i in range(99,0,-1):
  print(i,word,'of beer on the wall.')
  print(i,word,'of beer.')
  print('Take one down.')
  print('Pass it around.')
  if i==2:
    word='bottle'
  new_i=i-1
  if new_i==0:
    print('No more bottles of beer on the wall.')
  else:
    print(new_i,word,'of beer on the wall.')
  print()
